package com.ad.payload.dto;

import com.ad.payload.model.PageDto;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 商家表
 * </p>
 *
 * @author gdx
 * @since 2021-03-08
 */
@Data
public class MerchantDto extends PageDto implements Serializable {

private static final long serialVersionUID=1L;

    private String id;

    private float latitude;

    private float longitude;

    private String cityCode;

    private String type;

    private String name;

    private String town;

    private String phone;

    private Integer province;

    private Integer city;

    private Integer district;

    private String address;

    private String uuid;

    private String description;

    private String flag;

    @NotNull(message = "请选择第一行业")
    private String firstCategoryId;

    private String secondCategoryId;

    /**
     * 商家封面图片(一张), 显示于商家列表
     */
    private String exCoverIcon;

    /**
     * 环境图片(多张用,隔开), 放商铺环境照片
     */
    private String exEnvIcon;

    /**
     * 公开信息图片(多张用,隔开), 放营业执照, 食品安全证件等
     */
    private String exOpenIcon;

    /**
     * 法人身份证正反面
     */
    private String exIdentityIcon;
    /**
     * 法人银行卡正反面
     */
    private String exBankIcon;

}
